package com.book.bookshop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.book.bookshop.entity.Book;
import com.book.bookshop.mapper.BookMapper;
import org.springframework.stereotype.Service;

//图书业务层，写实现的东西的
//传入两个参数，接口，与实体类
//表明这是service层，开启注解扫描
@Service
public class BookService extends ServiceImpl<BookMapper, Book> {
}
//继承了bookMapper的属性，就不需要建立mapper了
